using HealthChecks.UI.Core;

namespace HealthChecks.UI.Data;

public class HealthCheckExecution
{
    public int Id { get; set; }

    public UIHealthStatus Status { get; set; }

    public DateTime OnStateFrom { get; set; }

    public DateTime LastExecuted { get; set; }

    public string Uri { get; set; } = null!;

    public string Name { get; set; } = null!;

    public string? DiscoveryService { get; set; }

    public List<HealthCheckExecutionEntry> Entries { get; set; } = null!;

    public List<HealthCheckExecutionHistory> History { get; set; } = null!;
}
